public class Volunteer extends Member
{
    
    private int hourCount;

    public Volunteer(String name, String address, int age, double fee, int hours) {
        super(name, address, age,fee);
        hourCount= hours;
    }

    
    public double getFee()  {
    	if (hourCount>=100) {
    	    return 0;
    	   }
    	return super.getFee()*0.75;
    }
}
